package io.github.xxyopen.novel.dao.mapper;

import io.github.xxyopen.novel.dao.entity.StuBehavior;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface StuBehaviorMapper {
    void insertStuBehavior(StuBehavior stuBehavior);

    StuBehavior selectByAction(@Param("stuId") Long stuId, @Param("practiceId") Long practiceId, @Param("action") int action);

    void deleteStuBehavior(StuBehavior stuBehavior);

    List<StuBehavior> selectStuBehaviorForRecommend();
}
